Interaction message processing method and apparatus, computer device, and storage medium

ABSTRACT

A method is performed at a backend server. The server receives a to-be-processed interaction message from a user interface of a social network platform. The server performs intention classification on the to-be-processed interaction message, to obtain an intention classification result of the to-be-processed interaction message. The server performs semantic analysis on the to-be-processed interaction message when the intention classification result comprises a mini program intention, to determine a message keyword of the to-be-processed interaction message. The server determines a program identifier of a target mini program corresponding to the to-be-processed interaction message according to the message keyword. The server transmits a message processing result based on the program identifier of the target mini program.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of U.S. patentapplication Ser. No. 17/320,005, filed May 13, 2021, which claimspriority to PCT Patent Application No. PCT/CN2020/079214, entitled“INTERACTIVE MESSAGE PROCESSING METHOD AND APPARATUS, COMPUTER DEVICEAND STORAGE MEDIUM” filed on Mar. 13, 2020, which claims priority toChinese Patent Application No. 2019102331868, filed with the StateIntellectual Property Office of the People's Republic of China on Mar.26, 2019, and entitled “INTERACTION MESSAGE PROCESSING METHOD ANDAPPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM”, all of which areincorporated herein by reference in their entirety.

FIELD OF THE TECHNOLOGY

This application relates to the field of artificial intelligence (AI)technologies, and in particular, to an interaction message processingmethod and apparatus, a computer device, and a storage medium.

BACKGROUND OF THE DISCLOSURE

AI is a novel technical science that studies and develops a theory,method, technology, and application system to simulate, extend, andexpand human intelligence. With the rapid development of informationtechnologies, AI has been applied to various aspects of life and canprovide an intelligent dialogue service for users. For example, thereare various dialogue applications, dialogue devices, and dialogueservice platforms, such as “Classmate AI” and “AI chatbot Qianxun”.

An interaction message processing method in a conventional intelligentdialogue service can provide a simple message dialogue function, whichneeds to be further expanded. Therefore, user stickiness of theinteraction message processing method needs to be further increased.

SUMMARY

Embodiments of this application provide an interaction messageprocessing method and apparatus, a computer device, and a storagemedium, which can expand an interaction message processing function andincrease user stickiness. The technical solutions are as follows:

According to an aspect, an interaction message processing method isprovided, is performed at an electronic device (e.g., a terminal), themethod comprising:

receiving, in a user interface of a social network platform, ato-be-processed interaction message;

transmitting a message processing request based on the to-be-processedinteraction message to a remote server, wherein the remote serveridentifies one or more target mini application programs based onsemantic analysis of the to-be-processed interaction message;

receiving, from the remote server, a message processing result inaccordance with the message processing request, the message processingresult including one or more links to the target mini applicationprograms running on the social network platform; and

displaying, in the user interface of the social network platform, atarget interaction message for each target mini application programaccording to the message processing result.

According to another aspect, an interaction message processing methodperformed at a backend server is provided, the method including:

receiving a to-be-processed interaction message from a user interface ofa social network platform;

performing intention classification on the to-be-processed interactionmessage, to obtain an intention classification result of theto-be-processed interaction message;

performing semantic analysis on the to-be-processed interaction messagewhen the intention classification result includes a mini applicationprogram intention, to determine a message keyword of the to-be-processedinteraction message;

determining a program identifier of a target mini application programcorresponding to the to-be-processed interaction message according tothe message keyword; and

transmitting a message processing result based on the program identifierof the target mini application program.

According to another aspect, an interaction message processing apparatus(e.g., an electronic device) is provided, the apparatus including:

an interaction message receiving module, configured to receive ato-be-processed interaction message when a message input triggerinstruction is received in a target interaction interface;

a message display and transmission module, configured to display theto-be-processed interaction message in the target interaction interfacewhen a message transmission trigger instruction is received in thetarget interaction interface, and transmit a message processing requestbased on the to-be-processed interaction message;

a message result receiving module, configured to receive a messageprocessing result returned based on the message processing request, themessage processing result being determined based on a target miniapplication program corresponding to the to-be-processed interactionmessage; and

a target message display module, configured to display a targetinteraction message based on the target mini application program in thetarget interaction interface according to the message processing result.

According to another aspect, an interaction message processing apparatusis provided, the apparatus including:

an interaction message receiving module, configured to receive ato-be-processed interaction message;

a message intention classification module, configured to performintention classification on the to-be-processed interaction message, toobtain an intention classification result of the to-be-processedinteraction message;

a message semantic analysis module, configured to perform semanticanalysis on the to-be-processed interaction message in a case that theintention classification result includes a mini application programintention, to determine a message keyword of the to-be-processedinteraction message;

a target program determining module, configured to determine a programidentifier of a target mini application program corresponding to theto-be-processed interaction message according to the message keyword;and

a message result transmission module, configured to transmit a messageprocessing result based on the program identifier of the target miniapplication program.

According to another aspect, a computer device (e.g., an electronicdevice, a terminal etc.) is provided. The computing device includesmemory and one or more processors. The memory stores one or morecomputer programs that, when executed by the one or more processors,cause the one or more processors to perform any of the methods disclosedherein.

According to another aspect, a computer device is provided, including amemory and a processor, the memory storing a computer program, and theprocessor, when executing the computer program, implementing theinteraction message processing method performed by a backend serveraccording to the foregoing aspect.

According to another aspect, a non-transitory computer-readable storagemedium is provided, storing a computer program, the computer programbeing executed by a processor, to implement any of the methods disclosedherein.

According to another aspect, a non-transitory computer-readable storagemedium is provided, storing a computer program, the computer programbeing executed by a processor, to implement the interaction messageprocessing method performed by a backend server according to theforegoing aspect.

The technical solutions provided in the embodiments of this applicationachieve at least the following beneficial effects:

According to the interaction message processing method and apparatus,the computer device, and the storage medium, a terminal may display atarget interaction message based on a target mini application program ina target interaction interface, so that an interaction messageprocessing function can be expanded and user stickiness can beincreased. Besides, due to the limitation of mini application programobtaining manners, according to the interaction message processingmethod and apparatus, the computer device, and the storage medium, thequantity of uses of the mini application program can be improved. Inaddition, a closed-loop of operations is easily formed based on theinteraction message processing method and apparatus, the computerdevice, and the storage medium of this embodiment, which helps tocollect statistics on traffic revenue.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of thisapplication more clearly, the following briefly introduces theaccompanying drawings required for describing the embodiments.Apparently, the accompanying drawings in the following description showmerely some embodiments of this application, and a person of ordinaryskill in the art may still derive other accompanying drawings from theseaccompanying drawings without creative efforts.

FIG. 1 is a schematic diagram of an application environment of aninteraction message processing method according to some embodiments ofthis application.

FIG. 2 is a schematic flowchart of an interaction message processingmethod according to some embodiments of this application.

FIG. 3 is a schematic diagram of an interaction message processingmethod according to some embodiments of this application.

FIG. 4 is a schematic diagram of an interaction message processingmethod according to some embodiments of this application.

FIG. 5 is a schematic flowchart of an interaction message processingmethod according to some embodiments of this application.

FIG. 6 is a schematic diagram of an interaction message processingmethod according to some embodiments of this application.

FIG. 7 is a schematic diagram of an interaction message processingmethod according to some embodiments of this application.

FIG. 8 is a diagram of implementation logic of an interaction messageprocessing method according to some embodiments of this application.

FIG. 9 is a flowchart of an interaction message processing method at aproduct level according to some embodiments of this application.

FIG. 10 is a partial flowchart of an interaction message processingmethod according to some embodiments of this application.

FIG. 11 is a sequence diagram of an interaction message processingmethod according to some embodiments of this application.

FIG. 12 is a structural block diagram of an interaction messageprocessing apparatus according to some embodiments of this application.

FIG. 13 is a structural block diagram of an interaction messageprocessing apparatus according to some embodiments of this application.

FIG. 14 is a schematic structural diagram of a computer device accordingto some embodiments of this application.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of thisapplication clearer, the following further describes this application indetail with reference to the accompanying drawings and the embodiments.It is to be understood that the specific embodiments described hereinare only used for explaining this application, and are not used forlimiting this application.

FIG. 1 is a schematic diagram of an application environment of aninteraction message processing method according to an embodiment. Theinteraction message processing method provided in this application isapplicable to the application environment shown in FIG. 1. A terminal102 communicates with a backend server 104 through a network.

An interaction message processing method according to an embodiment ofthis application may be run on the terminal 102. The terminal 102receives a to-be-processed interaction message when a message inputtrigger instruction is received in a target interaction interface;displays the to-be-processed interaction message in the targetinteraction interface when a message transmission trigger instruction isreceived in the target interaction interface, and transmits a messageprocessing request based on the to-be-processed interaction message;receives a message processing result returned based on the messageprocessing request, the message processing result being determined basedon a target mini application program corresponding to theto-be-processed interaction message; and displays a target interactionmessage based on the target mini application program in the targetinteraction interface according to the message processing result. Theinteraction message processing method may be implemented by using anapplication, or may be implemented by using a public service platform inan application, or may be implemented by using a sub-application in anapplication. In a specific embodiment, the application may be a socialplatform such as WeChat. The public service platform may be serviceplatforms such as an official account, a subscription, and a service,for example, an AI chatbot Qianxun. The sub-application refers to anapplication that can be used without being downloaded and installed, orthe sub-application refers to an application of which a setup package isquite small and a downloading and installation process can beautomatically completed in the background, such as a mini applicationprogram. Sub-applications such as mini application programs may beembedded in an application of a terminal, and corresponding services maybe provided for a user by running the sub-applications in theapplication.

An interaction message processing method according to another embodimentof this application may be run on the backend server 104. The backendserver 104 receives a to-be-processed interaction message; performsintention classification on the to-be-processed interaction message, toobtain an intention classification result of the to-be-processedinteraction message; performs semantic analysis on the to-be-processedinteraction message when the intention classification result includes amini application program intention, to determine a message keyword ofthe to-be-processed interaction message; determines a program identifierof a target mini application program corresponding to theto-be-processed interaction message according to the message keyword;and transmits a message processing result based on the programidentifier of the target mini application program. The messageprocessing result is returned to the terminal 102, so that the terminal102 may display a target interaction message based on the target miniapplication program in a target interaction interface according to themessage processing result.

The terminal 102 may be a desktop device or a mobile terminal, such as adesktop computer, a tablet computer, or a smartphone. The backend server104 may be an independent physical server, a physical server cluster, ora virtual server.

As shown in FIG. 2, in an embodiment, an interaction message processingmethod is provided. The method may be run on the terminal 102 in FIG. 1.The interaction message processing method includes the following steps:

S202. Receive, in a user interface of a social network platform, ato-be-processed interaction message.

The terminal receives a to-be-processed interaction message when amessage input trigger instruction is received in a user interface.

The user interface (e.g., a target interaction interface) is aninterface provided on the terminal for a user, which is a human-computerinteraction interface provided for the user. The target interactioninterface may be an interface for displaying message exchanged betweenthe user and a product. The product includes at least one product thatcorresponds to this embodiment, such as a mini application programproviding a dialogue service, a public service platform providing adialogue service, or an application providing a dialogue service. Amanner of receiving the message input trigger instruction may bereceiving a command inputted by the user in a text or speech form, orreceiving an input command by clicking/tapping, touching and holding,selecting, or touching a message input control by the user in the targetinteraction interface. The message input control may be a control suchas a message input box, a key, or a button.

Before receiving the message input trigger instruction in the targetinteraction interface, the terminal further needs to display the targetinteraction interface. Display of the target interaction interface maybe triggered after a target interaction interface display instruction isreceived. The target interaction interface display instruction may betriggered in accordance with the selection of a product corresponding tothe interaction message. The product includes at least one of anapplication, a public service platform, and a mini application program.The public service platform may be at least one of service platformssuch as a public account, a subscription, and a service. Specifically,the target interaction interface display instruction may be triggered byopening an official account of the social network platform on the userinterface, which provides an intelligent dialogue function. Morespecifically, the target interaction interface display instruction maybe triggered by opening the official account of AI chatbot Qianxun onthe social network application WeChat. In some embodiments, the userinterface is user interface of a social networking application. The userinterface displays interactions between a user of the terminal 102 andan official account of the social network platform. The user has a useraccount on the social network platform. In some embodiments, prior tothe interactions, the user account subscribes to the official account onthe social network platform.

The to-be-processed interaction message is a message inputted by theuser. A manner of receiving the to-be-processed interaction message maybe receiving a text message or a picture message inputted by the userthrough the message input control in the target interaction interface,or may be capturing a speech message inputted by the user through anaudio capture device such as a microphone, or may be capturing a videomessage or a picture message inputted by the user through a videocapture device such as a camera. In other words, the to-be-processedinteraction message may be at least one of a text message, a speechmessage, a picture message, and a video message.

S204. Transmit a message processing request based on the to-be-processedinteraction message to a remote server, wherein the remote serveridentifies one or more target mini application programs based onsemantic analysis of the to-be-processed interaction message.

When a message transmission trigger instruction is received in thetarget interaction interface, the terminal displays the to-be-processedinteraction message in the target interaction interface, and transmits amessage processing request based on the to-be-processed interactionmessage.

The message transmission trigger instruction is used for triggering theterminal to transmit the received to-be-processed interaction message toa backend server. A manner in which the terminal receives the messagetransmission trigger instruction may be clicking/tapping or touching atransmit button, or may be clicking/tapping or touching a transmitconfirmation button, or may be receiving the message transmissiontrigger instruction through speech or other command input manners.

The to-be-processed interaction message is displayed in the targetinteraction interface, so that the user can know the message that theuser transmits in an intelligent dialogue process and it is convenientfor the user to search for a recorded message.

The message processing request is used for requesting the backend serverto process the to-be-processed interaction message, so as to give areply to the to-be-processed interaction message in a complete dialogueprocess. The message processing request includes the to-be-processedinteraction message and a user identifier. The user identifier is usedfor determining a terminal corresponding to the user when a messageprocessing result is returned to the user. When the interaction messageprocessing method is implemented by using a public service platform inan application, the user identifier may be a user identifier of the userin the application.

S206. Receive, from the remote server, a message processing result inaccordance with the message processing request, the message processingresult being determined based on a target mini application program (alsoreferred to herein as a target mini program) corresponding to theto-be-processed interaction message, including one or more links to thetarget mini application programs running on the social network platform.

The terminal receives a message processing result returned based on themessage processing request, the message processing result beingdetermined based on a target mini program corresponding to theto-be-processed interaction message.

After receiving the message processing request, the backend serverprocesses the to-be-processed interaction message, to obtain the messageprocessing result based on the target mini application programcorresponding to the to-be-processed interaction message, and feeds backthe message processing result to the terminal. The target miniapplication program refers to a mini application program correspondingto the to-be-processed interaction message. The mini application programis a sub-application that can be used without being downloaded andinstalled. To provide more diversified services to the user, a developermay develop corresponding mini programs for applications (for example,an instant messaging application, a shopping application, and a mailapplication) of the terminal. The mini programs may be embedded in anapplication of the terminal as sub-applications, and correspondingservices may be provided for the user by running the sub-applications(that is, corresponding mini programs) in the application.

The terminal receives the message processing result returned by thebackend server based on the message processing request, the messageprocessing result being determined by the backend server based on thetarget mini program corresponding to the to-be-processed interactionmessage.

The message processing result may include program information of thetarget mini program. The program information may include at least one ofprogram link information and invoked interface information of the targetmini program. The message processing result may further include pagedata of the target mini program. The page data may be homepage data ofthe target mini application program, or may be target page datacorresponding to the to-be-processed interaction message in the targetmini program.

S208. Display, in the user interface of the social network platform, atarget interaction message for each target mini application programaccording to the message processing result.

The terminal displays a target interaction message based on the targetmini program in the target interaction interface according to themessage processing result.

The target interaction message based on the target mini program mayinclude the message processing result, or may include a message obtainedby performing further processing on the message processing result. Forexample, the program information of the target mini program may bedisplayed in the target interaction interface. Alternatively, an icon ora homepage of the target mini program may be displayed in the targetinteraction interface. The icon may jump to the homepage of the targetmini program through a hyperlink. Alternatively, the invoked interfaceinformation of the target mini program may be displayed in the targetinteraction interface. The invoked interface information may be addressinformation of a target page of a functional module corresponding to theto-be-processed interaction message in the target mini program.Alternatively, a target page of the target mini program may be displayedin the target interaction interface. Alternatively, an execution resultafter the target mini program is invoked may be displayed in the targetinteraction interface.

Based on the above, according to the exemplary embodiment provided inthis application, a to-be-processed interaction message is received whena message input trigger instruction is received in a target interactioninterface; the to-be-processed interaction message is displayed in thetarget interaction interface when a message transmission triggerinstruction is received in the target interaction interface, and amessage processing request is transmitted based on the to-be-processedinteraction message; a message processing result returned based on themessage processing request is received, the message processing resultbeing determined based on a target mini program corresponding to theto-be-processed interaction message; and a target interaction messagebased on the target mini program is displayed in the target interactioninterface according to the message processing result. The returnedmessage processing result based on the target mini program may bereceived, and the target interaction message based on the target miniprogram may be displayed in the target interaction interface based onthe message processing result, so that an interaction message processingfunction can be expanded and user stickiness can be increased. Besides,due to the limitation of mini program obtaining manners, according tothe interaction message processing method, the quantity of uses of themini program can be improved. In addition, a closed-loop of operationsis easily formed based on the interaction message processing method inthis embodiment, which helps to collect statistics on traffic revenue.

In another exemplary embodiment, the message processing result includesthe program information of the target mini program. The displaying, bythe terminal, a target interaction message based on the target miniprogram in the target interaction interface according to the messageprocessing result includes: displaying, by the terminal, the targetinteraction message based on the target mini program in the targetinteraction interface according to the program information of the targetmini program.

The program information may include at least one of program linkinformation, a program name, a program identifier, and a program iconthat are related to the program. Content of the target interactionmessage may be at least one of a program identifier, a program name,program link information, and a program icon of the target mini program.The terminal may transmit a program query request to the backend serverby using the program identifier or the program name, to obtain theprogram link information of the target mini program, and transmit atarget program request to the target mini program by using the programlink information to request a service of the target mini program. Theterminal may alternatively transmit a target program request to thetarget mini program by using at least one of the program identifier, theprogram name, the program link information, or the program icon torequest a service of the target mini program.

Based on the above, according to the exemplary embodiment provided inthis application, the target interaction message displayed in the targetinteraction interface by the terminal based on the program informationof the target mini program may recommend the target mini program to theuser, which makes it convenient for the user to request a service of thetarget mini program, and expands the interaction message processingfunction, thereby increasing user stickiness.

In another exemplary embodiment, the program information includes theprogram link information of the target mini program. The program linkinformation may include at least one of a program link address and aport number. The displaying, by the terminal, the target interactionmessage based on the target mini program in the target interactioninterface according to the program information of the target miniprogram includes: displaying, by the terminal, the target interactionmessage based on the target mini program in the target interactioninterface according to the program link information of the target miniprogram.

A manner in which the terminal displays the target interaction messagebased on the target mini program in the target interaction interfaceaccording to the program link information of the target mini program maybe that the terminal displays the program link information of the targetmini program in the target interaction interface. The user may be linkedto the target mini program by clicking/tapping the program linkinformation in the target interaction interface displayed on theterminal. In other words, by clicking/tapping the program linkinformation, the terminal is enabled to transmit a target programrequest to the target mini program to request a service of the targetmini program.

The manner in which the terminal displays the target interaction messagebased on the target mini program in the target interaction interfaceaccording to the program link information of the target mini program mayalternatively be that the terminal displays other program information ofthe target mini program in the target interaction interface, and sets ahyperlink of the other program information to the program linkinformation of the target mini program. The user may be linked to thetarget mini program by clicking/tapping the other program information inthe target interaction interface displayed on the terminal. In otherwords, a target service request may be transmitted to the target miniprogram by clicking/tapping the other program information to request aservice of the target mini program.

Based on the above, according to the exemplary embodiment provided inthis application, there is no need to first request the program linkinformation by using the other program information and then request aservice of the target mini program by using the program linkinformation. Therefore, the service of the target mini program can berequested quickly, which can further increase user stickiness ofinteraction message processing.

In another exemplary embodiment, the program information includes theinvoked interface information of the target mini program, and theinvoked interface information may be at least one of an invokedinterface name and an invoked interface identifier. The invokedinterface information corresponds to the to-be-processed interactionmessage. The displaying, by the terminal, the target interaction messagebased on the target mini program in the target interaction interfaceaccording to the program information of the target mini programincludes: displaying, by the terminal, the target interaction messagebased on the target mini program in the target interaction interfaceaccording to the invoked interface information of the target miniprogram.

A manner in which the terminal displays the target interaction messagebased on the target mini program in the target interaction interfaceaccording to the invoked interface information of the target miniprogram may be that the terminal displays the invoked interfaceinformation of the target mini program in the target interactioninterface. The user may be linked to a specific functional modulecorresponding to the to-be-processed interaction message in the targetmini program by clicking/tapping the invoked interface information inthe target interaction interface displayed on the terminal. In otherwords, by clicking/tapping the invoked interface information, theterminal is enabled to transmit a service request to the target miniprogram to request a specific service of the functional module in thetarget mini program.

A manner in which the terminal displays the target interaction messagebased on the target mini program in the target interaction interfaceaccording to the invoked interface information of the target miniprogram may be that the terminal displays the program information of thetarget mini program in the target interaction interface, and sets ahyperlink of the program information to the invoked interfaceinformation of the target mini program. The user may be linked to aspecific functional module corresponding to the to-be-processedinteraction message in the target mini program by clicking/tapping theprogram information in the target interaction interface displayed on theterminal. In other words, by clicking/tapping the program information,the terminal is enabled to transmit a service request to the target miniprogram to request a specific service of the functional module in thetarget mini program.

Based on the above, according to the exemplary embodiment provided inthis application, the user may be linked to the specific functionalmodule corresponding to the to-be-processed interaction message in thetarget mini program based on the invoked interface information, therebyreducing operation steps of the user and further increasing userstickiness.

In another exemplary embodiment, the message processing result furtherincludes the page data of the target mini program. The displaying, bythe terminal, the target interaction message based on the target miniprogram in the target interaction interface according to the programinformation of the target mini program includes: determining, by theterminal, the target interaction message based on the target miniprogram according to the program information and the page data of thetarget mini program; and displaying the target interaction message inthe target interaction interface.

The page data refers to page data of a service provided by the targetmini program. For example, the page data may be homepage data, or may betarget page data. The homepage refers to an interface that is firstdisplayed when the target mini program provides a service according to ageneral procedure. The target page refers to a page of a functionalmodule corresponding to the to-be-processed interaction message in thetarget mini program.

In this embodiment, the content of the target interaction messageincludes the page data and the program information. A manner in whichthe terminal displays the target interaction message in the targetinteraction interface may be that the terminal displays the page dataand the program information in the target interaction interface. Themanner in which the terminal displays the target interaction message inthe target interaction interface may alternatively be that the terminaldisplays the page data in the target interaction interface, and sets ahyperlink of the page data to the program link information of the targetmini program.

Based on the above, according to the exemplary embodiment provided inthis application, the page of the target mini program is displayed inthe target interaction interface of the terminal, so that relatedinformation of the target mini program can be displayed moreintuitively, and the user can more clearly and intuitively know aservice that the target mini program can provide.

In another exemplary embodiment, the page data includes homepage data ofthe target mini program; and the displaying, by the terminal, the targetinteraction message in the target interaction interface includes:rendering, by the terminal, the homepage data, displaying a homepage ofthe target mini program in the target interaction interface, and settinga hyperlink of the homepage according to program link information of thetarget mini program.

In this embodiment, the content of the target interaction messageincludes the homepage data of the target mini program. The terminalrenders the homepage data, displays the homepage of the target miniprogram in the target interaction interface, and sets the hyperlink ofthe homepage to the program link information of the target mini program.In this way, the user may jump to the homepage of the target miniprogram by clicking/tapping the program link information, so that theterminal provides a service of the target mini program for the user.Therefore, not only the target mini program is recommended to the userand the user can know the service of the target mini program clearly andintuitively, but also the terminal can provide the service of the targetmini program for the user conveniently and quickly, thereby simplifyinguser operations and increasing user stickiness.

It may be understood that, in some other embodiments, the program linkinformation of the mini program may not be provided for jumping. Inother words, the hyperlink to the target mini program is not set, andthe user may autonomously find an access manner of the target miniprogram based on the target interaction message.

In another application scenario, a company colleague says to an AIchatbot (e.g., an official account, an official platform, a publicaccount, etc.) “Please order 10 takeouts for me at noon, and make out acompany invoice.”. A conventional manner may be that on the premise ofknowing “Meituan Takeout”, the AI chatbot may think of using a miniapplication program in WeChat, and then the AI Chatbot opens WeChat,inputs and searches for a mini program “Meituan Takeout”, and thenorders takeouts. During filling in the company invoice, the AI chatbotmay not remember a long company ticket number. In this example, the AIchatbot exits the mini application program “Meituan Takeout”, andsearches for and opens a mini application program “Tax invoiceassistant” on the premise of knowing “Tax invoice assistant”. Afterobtaining a tax number, the AI chatbot opens the mini applicationprogram “Meituan Takeout” again.

The foregoing application scenario may be shown in FIG. 3 after adoptingthe method in this embodiment, and a product corresponding to thismethod may be a target service platform in WeChat (social software). TheAI chatbot only needs to know the target service platform and tell thetarget service platform “I want to order 10 takeouts with an invoice”instead of knowing the specific mini programs such as “Meituan Takeout”and “Tax invoice assistant”. After obtaining the to-be-processedinteraction message, the terminal forwards the to-be-processedinteraction message to a backend server of the target service platform.After receiving the to-be-processed interaction message, the backendserver of the target service platform performs corresponding processingon the to-be-processed interaction message, and finally returns amessage processing result. The message processing result includes ascript “try the following two programs”, and program names and homepagedata of two target mini programs “Meituan Takeout” and “Tax invoiceassistant”. When the terminal displays a target interaction message, theterminal displays the script and the program names and the homepage dataof the two target mini programs. The user may click/tap the targetinteraction message, so that the terminal jumps to a correspondingtarget mini program.

In another exemplary embodiment, the page data includes target page dataof the target mini program. The target page data corresponds to theinvoked interface information of the target mini program, and theinvoked interface information corresponds to the to-be-processedinteraction message. The displaying, by the terminal, the targetinteraction message in the target interaction interface includes:rendering, by the terminal, the target page data, displaying a targetpage of the target mini program in the target interaction interface, andsetting a hyperlink of the target page according to the invokedinterface information of the target mini program.

In this embodiment, the content of the target interaction messageincludes the target page data of the target mini program. The terminalrenders the target page data, displays the target page of the targetmini program in the target interaction interface, and sets the hyperlinkof the target page to the invoked interface information of the targetmini program. The target page refers to a page of a functional moduleproviding a service corresponding to the to-be-processed interactionmessage in the target mini program. The user may click/tap the targetpage to control the terminal to jump to the target page of the targetmini program, to provide the service of the target mini program for theuser. In another exemplary embodiment, as shown in FIG. 4, the targetinteraction message displayed on the terminal may include a script “OK,please open the mini program to order”, a program name of a target miniprogram “Meituan Takeout” determined by the backend server, and a targetpage corresponding to invoked interface information of an orderingfunction module of the target mini program.

Based on the above, according to the exemplary embodiment provided inthis application, not only the user can know the service of the targetmini program clearly and intuitively, but also the terminal can providethe service of the target mini program for the user conveniently andquickly, thereby increasing user stickiness.

In another exemplary embodiment, after the rendering, by the terminal,the target page data, displaying a target page of the target miniprogram in the target interaction interface, and setting a hyperlink ofthe target page according to the invoked interface information of thetarget mini program, the method further includes: receiving, by theterminal, a service request transmission instruction based on the targetpage, the service request transmission instruction including the programinformation and a preset parameter of the target mini program;transmitting, by the terminal, a target service request according to theprogram information and the preset parameter; receiving, by theterminal, a service response result returned based on the target servicerequest; and displaying, by the terminal, the service response resultreturned based on the target service request.

In this embodiment, the target interaction message includes the invokedinterface information of the target mini program, and the invokedinterface information corresponds to the to-be-processed interactionmessage. A manner in which the terminal receives the service requesttransmission instruction based on the target interaction message may be:receiving the service request transmission instruction byclicking/tapping, double-clicking/tapping, or touching and holding thetarget interaction message, or receiving the service requesttransmission instruction by clicking/tapping, double-clicking/tapping,or touching and holding a preset button or another control in the targetinteraction message.

The target service request is used for requesting the service of thetarget mini program. The program information may be the program linkinformation. The preset parameter may be a related parameter that needsto be provided when the terminal requests the target mini program. Thepreset parameter may be received before the terminal receives theservice request transmission instruction. The preset parameter mayalternatively be extracted from the message processing result before theterminal receives the service request transmission instruction, and thepreset parameter corresponds to the to-be-processed interaction message.For example, when the target mini program is a ticketing assistant, thepreset parameter may be company information that is inputted by the userand for which an invoice needs to be made out, or may be companyinformation that is extracted by the backend server from theto-be-processed interaction message and for which an invoice needs to bemade out. In another example, when the target mini program is a takeoutmini program such as Meituan Takeout, the preset parameter may berelated information such as a product, a quantity, or a merchant oftakeouts that is inputted by the user, or may be related informationsuch as a product, a quantity, or a merchant of takeouts that isextracted by the backend server from the to-be-processed interactionmessage. The target service request includes the program information andthe preset parameter. The terminal transmits the target service requestto a server of the target mini program according to the programinformation. The server of the target mini program performs a targetservice according to the target service request and returns a serviceresponse result to the terminal. The terminal receives the serviceresponse result returned based on the target service request; and theterminal displays the service response result returned based on thetarget service request.

Based on the above, according to the exemplary embodiment provided inthis application, when invoking the target mini application program, theuser does not need to know a specific operation method of the targetmini application program. After the target page of the functional modulecorresponding to the to-be-processed interaction message in the targetmini program is displayed, a service transmission request may bereceived based on the target page, then a target service request istransmitted to the server of the target mini program based on theservice transmission request, and a service response result is finallyreceived and displayed. In this way, operation steps of the user can bereduced, and the service of the target mini program can be provided forthe user more conveniently and quickly, thereby further increasing userstickiness.

In another exemplary embodiment, the displaying, by the terminal, thetarget interaction message in the target interaction interface includes:displaying, by the terminal, the page data on a subpage embedded in thetarget interaction interface, and setting a hyperlink of the page dataaccording to the program information of the target mini applicationprogram.

Based on the above, according to the exemplary embodiment provided inthis application, the content of the target interaction message furtherincludes the page data. The page data is displayed on the subpageembedded in the target interaction interface. In this way, the page datais displayed in a different manner than a common interaction message, sothat the user can quickly distinguish between the common interactionmessage and the target interaction message based on the target miniprogram, thereby further increasing user stickiness. The terminal setsthe hyperlink of the page data according to the program information ofthe target mini program. In this way, the user can be linked to thetarget mini program conveniently and quickly, thereby further increasinguser stickiness.

In another exemplary embodiment, after the displaying, by the terminal,a target interaction message based on the target mini applicationprogram in the target interaction interface according to the messageprocessing result, the method further includes: receiving, by theterminal, a program request transmission instruction based on the targetinteraction message; transmitting, by the terminal, a target programrequest according to the program information of the target miniapplication program carried in the program request transmissioninstruction; receiving, by the terminal, program response informationreturned according to the target program request; and displaying, by theterminal, the program response information returned according to thetarget program request.

In this embodiment, the program information included in the messageprocessing result may include the program link information of the targetmini program. A manner in which the terminal receives the programrequest transmission instruction based on the target interaction messagemay be: receiving the program request transmission instruction byclicking/tapping, double-clicking/tapping, or touching and holding thetarget interaction message. The program request transmission instructioncarries the program link information of the target mini applicationprogram. The terminal transmits a target program request according tothe program link information, the target program request carrying theprogram link information and a terminal identifier. The terminaltransmits the target program request to the server of the target miniapplication program based on the program link information. Based on theterminal identifier, the backend server may return program responseinformation determined based on the target program request to theterminal. In this case, the program response information may includehomepage data of the target mini application program.

In this embodiment, the program information included in the messageprocessing result may alternatively include the invoked interfaceinformation of the target mini program, and the invoked interfaceinformation corresponds to the to-be-processed interaction message. Amanner in which the terminal receives the program request transmissioninstruction based on the target interaction message may be: receivingthe program request transmission instruction by clicking/tapping,double-clicking/tapping, or touching and holding the target interactionmessage. The program request transmission instruction carries theinvoked interface information of the target mini application program.The terminal transmits a target program request according to the invokedinterface information, the target program request carrying the invokedinterface information and a terminal identifier. The terminal transmitsthe target program request to the server of the target mini programbased on the invoked interface information. Based on the terminalidentifier, the backend server may return program response informationdetermined based on the target program request to the terminal. In thiscase, the program response information may include target page data ofthe target mini program.

Based on the above, according to the exemplary embodiment provided inthis application, after the target mini program is recommended to theuser, a program request transmission instruction may be received, atarget program request may be transmitted, and program responseinformation may be received and displayed, so that the user can requesta related service of the target mini program based on the programresponse information. In this way, a method for accessing the targetmini program is provided for the user, and usage of the target miniprogram can be improved.

In another exemplary embodiment, the program response informationincludes the target page data. In other words, the invoked interfaceinformation is further carried in the target program request. Byobtaining invoked interface information of a functional moduleclicked/tapped in the target interaction message, the terminal mayobtain the invoked interface information when receiving the programrequest transmission instruction. After the transmitting, by theterminal, a target program request, and receiving and displaying programresponse information returned based on the target program request, themethod further includes: receiving, by the terminal, a service requesttransmission instruction based on the program response information, theservice request transmission instruction including the invoked interfaceinformation and the preset parameter of the target mini program;transmitting, by the terminal, a target service request according to thepreset parameter and the invoked interface information; receiving, bythe terminal, a service response result returned according to the targetservice request; and displaying, by the terminal, the service responseresult returned according to the target service request.

A manner in which the terminal receives the service request transmissioninstruction based on the program response information may be that theterminal receives the service request transmission instruction inputtedby clicking/tapping a preset button by the user in the target page. Thepreset button may be a button similar to “Submit”, “OK”, or the like.The service request transmission instruction includes the invokedinterface information and the preset parameter of the target miniprogram. The terminal requests a corresponding functional module serviceof the target mini application program based on the invoked interfaceinformation. The preset parameter is a parameter required for thefunctional module service. The preset parameter corresponds to theto-be-processed interaction message. The preset parameter may bedetermined by the backend server according to the to-be-processedinteraction message and returned to the terminal through the messageprocessing result.

The target service request carries the invoked interface information andthe preset parameter. The target service request is used for requestinga service provided by a functional module required by the user in thetarget mini application program, that is, the functional module service.The target service request further carries a terminal identifier. Inthis way, the server of the target mini program may return, according tothe terminal identifier, a service response result to the terminaltransmitting the target service request. The terminal receives theservice response result returned according to the target servicerequest; and the terminal displays the service response result returnedaccording to the target service request. The service response result isan execution result returned by the backend server according to thetarget service request.

Based on the above, according to the exemplary embodiment provided inthis application, program information of a target mini program is firstprovided for a user, and a program request transmission instruction isreceived based on the program information; then a target program requestis transmitted, and target page data is received and displayed; and aservice request transmission instruction is received based on a targetpage, a target service request is transmitted, and a service responseresult is received and displayed. In this way, a service function of thetarget mini program can be expanded while proving a dialogue functionfor the user. Therefore, user stickiness can be increased.

In another exemplary embodiment, the receiving, by the terminal, aservice request transmission instruction based on the program responseinformation includes: receiving, by the terminal, a parametermodification instruction based on the program response information; andreceiving, by the terminal, the service request transmission instructionbased on the program response information after modifying the presetparameter according to the parameter modification instruction, theservice request transmission instruction including the invoked interfaceinformation and the modified preset parameter of the target miniprogram.

In this embodiment, after the preset parameter is determined, the presetparameter may be modified. In this way, after the user transmits theto-be-processed interaction message, if the related parameter requiredby the user changes, or the preset parameter in the message processingresult is different from that the user actually intends to express, thepreset parameter may be modified. Therefore, the target service requestcan better meet an actual requirement of the user, thereby furtherincreasing user stickiness.

As shown in FIG. 5, this application further provides an interactionmessage processing method run in a backend server, and the method may berun in the backend server 104 in FIG. 1. The method includes thefollowing steps:

S502: Receive a to-be-processed interaction message.

The to-be-processed interaction message may be received by a terminaland forwarded to the backend server. Specifically, the to-be-processedinteraction message may be forwarded by the terminal by running a targetservice platform in an application.

The backend server receives the to-be-processed interaction message. Theto-be-processed interaction message may be a message in a text form, ormay be a message in a speech form, or may be a message in a video,picture, or expression form.

After obtaining a to-be-processed interaction message inputted by auser, the terminal may forward the to-be-processed interaction messageto the backend server for processing. In this way, efficiency of thetarget service platform in responding to customers can be improved,thereby increasing user stickiness.

After obtaining the to-be-processed interaction message inputted by theuser, the terminal may alternatively forward the to-be-processedinteraction message to the backend server according to a preset policy.Accordingly, the backend server receives the to-be-processed interactionmessage according to a corresponding policy. The preset policy may beforwarding the to-be-processed interaction message at a preset timeinterval, or forwarding a preset quantity of received to-be-processedinteraction messages at a time, the preset quantity being at least one.

S504. Perform intention classification on the to-be-processedinteraction message, to obtain an intention classification result of theto-be-processed interaction message.

The backend server performs intention classification on theto-be-processed interaction message, to obtain an intentionclassification result of the to-be-processed interaction message.

The backend server may first perform semantic understanding on theto-be-processed interaction message, to obtain semantic information ofthe to-be-processed interaction message, and then perform intentionclassification on the semantic information to obtain the intentionclassification result. The intention classification refers toclassifying an internal intention expressed by the semantic informationin the to-be-processed interaction message, and an intention category ofthe internal intention may include at least one intention category of achat intention, a character intention, a music intention, and asub-application intention (mini program intention). In this embodiment,the quantity of intention categories is at least 2, which may be tens oreven dozens. The intention categories in this embodiment include atleast the chat intention and the sub-application intention. Eachintention category may be represented through a domain.

For example, in an AI speech interaction procedure, a natural languagemessage of the user may be scored through a preset mapping process afterspeech recognition and semantic understanding are performed on thenatural language message, which falls within an optimal domain range. Ato-be-outputted returned result is obtained within the domain range.Different domains represent different AI capabilities.

One to-be-processed interaction message is finally matched with oneintention category, and an intention classification result is determinedbased on the matched intention category.

S506. Perform semantic analysis on the to-be-processed interactionmessage when the intention classification result includes a mini programintention, to determine a message keyword of the to-be-processedinteraction message.

The backend server performs semantic analysis on the to-be-processedinteraction message when the intention classification result includes amini program intention, to determine a message keyword of theto-be-processed interaction message.

The backend server performs semantic analysis on the to-be-processedinteraction message, to obtain the message keyword of theto-be-processed interaction message. The semantic analysis may beimplemented by using an independent semantic analysis algorithm, or maybe implemented by using a neural network model. The semantic analysismay be implemented by using a neuro-linguistic programming (NLP)technology, to obtain the message keyword. The message keyword is a wordrepresenting important information of the to-be-processed interactionmessage in the to-be-processed interaction message. For example, whenthe to-be-processed interaction message is “I want to order a takeout”,message keywords obtained through semantic analysis may include: order atakeout.

S508. Determine a program identifier of a target mini programcorresponding to the to-be-processed interaction message according tothe message keyword.

The backend server may determine a target mini program corresponding tothe to-be-processed interaction message according to the message keywordafter obtaining the message keyword. A program identifier of the targetmini program corresponding to the to-be-processed interaction messagemay be obtained once the message keyword is obtained. For example, whenmessage keywords are order a takeout, a target mini program may bedetermined to be a mini program for ordering a takeout. Further, programfeatures, such as a quantity of uses, a quantity of uses within a recentpreset time, user reviews, and the like of a takeout-ordering miniprogram may be further considered to determine which takeout program isfinally determined as the target mini program.

Exemplarily, the backend server may determine the program identifier ofthe target mini program corresponding to the to-be-processed interactionmessage according to the message keyword when the intentionclassification result includes the mini program intention. In this way,the backend server may not need to determine the program identifier ofthe target mini program corresponding to the to-be-processed interactionmessage according to the message keyword when the intentionclassification result does not include the mini program intention.

The backend server performs semantic analysis on the to-be-processedinteraction message, to determine the message keyword of theto-be-processed interaction message, and determines the programidentifier of the target mini program corresponding to theto-be-processed interaction message according to the message keyword.The backend server may perform intention classification on theto-be-processed interaction message by using a neural network model, toobtain the intention classification result of the to-be-processedinteraction message. For example, the intention classification may beimplemented by using a fully connected neural network. A quantity and adepth of hidden layers of the fully connected neural network may beadjusted according to labeled data. An output of the fully connectedneural network may use a sigmoid function as activation so that anoutput value ranges from 0 to 1. The labeled data may be represented byusing a vector of 0 and 1. 0 indicates that the data has no label atthis position, and 1 indicates that the data has a label at thisposition. Digits of the vector are equal to a quantity ofto-be-classified mini programs. That is, an identifier of a mini programcorresponding to 1 in the vector is the program identifier of the targetmini program.

S510. Transmit a message processing result based on the programidentifier of the target mini program.

The backend server transmits a message processing result based on theprogram identifier of the target mini program. Therefore, thetransmitted message processing result is a message processing resultbased on the target mini program. The message processing result may bethe program identifier of the target mini program, or may be programinformation of the target mini program found based on the programidentifier, or may be an execution result of the target mini programobtained after the backend server invokes and executes the target miniprogram based on the program identifier.

The program information may include at least one of program linkinformation of the target mini program, a program name, a programidentifier, and a program icon that are related to the program, and mayfurther include invoked interface information of the target miniprogram.

In this way, the terminal may display a target interaction message basedon the target mini program in a target interaction interface accordingto the message processing result returned by the backend server.

According to the interaction message processing method, a backend serverreceives a to-be-processed interaction message; the backend serverperforms intention classification on the to-be-processed interactionmessage, to obtain an intention classification result of theto-be-processed interaction message; the backend server performssemantic analysis on the to-be-processed interaction message, todetermine a message keyword of the to-be-processed interaction message;the backend server determines a program identifier of a target miniprogram corresponding to the to-be-processed interaction messageaccording to the message keyword; and the backend server transmits amessage processing result based on the program identifier of the targetmini program. The message processing result based on the target miniprogram may be fed back, so that an interaction message processingfunction can be expanded and user stickiness can be increased. Besides,due to the limitation of mini program obtaining manners, according tothe interaction message processing method, the quantity of uses of thetarget mini program can be improved. In addition, a closed-loop ofoperations is easily formed based on the interaction message processingmethod in this embodiment, which helps to collect statistics on trafficrevenue.

In another application scenario, as shown in FIG. 6, the user activelyasks a target service platform, such as an official account AI chatbotQianxun, “What is my tax number for reimbursement?” After receiving theto-be-processed interaction message, a backend server of the targetservice platform performs intention classification on theto-be-processed interaction message. An obtained intentionclassification result includes the mini program intention. Afterobtaining a message keyword by performing semantic analysis on theto-be-processed interaction message, a program identifier of a miniprogram “Tax invoice assistant” may be determined as the programidentifier of the target mini program according to the message keyword.A message processing result transmitted by the backend server to theterminal may be program information of “Tax invoice assistant”. As shownin FIG. 6, a result displayed on the terminal is a link page of thetarget mini program. The user may enter the target mini program byclicking/tapping the link page.

In another application scenario, as shown in FIG. 7, the user says“Qianxun, I am very hungry” in a chatting process on the target serviceplatform. After the backend server of the target service platformreceives the to-be-processed interaction message, the backend server mayextract a keyword “hungry” through semantic analysis. A messageprocessing result returned to the terminal may include programinformation of a mini program “Meituan Takeout” recommended anddistributed to the user in addition to a chatting script.

In another exemplary embodiment, the performing, by the backend server,intention classification on the to-be-processed interaction message, toobtain an intention classification result of the to-be-processedinteraction message includes: extracting, by the backend server, amessage feature of the to-be-processed interaction message; andperforming, by the backend server, preset intention classificationmapping on the message feature by using a neural network model, toobtain the intention classification result of the to-be-processedinteraction message.

In this embodiment, after receiving the to-be-processed interactionmessage, the backend server first extracts a message feature of theto-be-processed interaction message. The message feature may include atleast one feature vector of a message keyword vector and a messagesemantic vector. The backend server performs preset intentionclassification mapping on the message feature by using a neural networkmodel, to obtain the intention classification result of theto-be-processed interaction message. In this way, the backend serverobtains the intention classification result of the to-be-processedinteraction message by performing mapping by using a neural networkmodel. In this way, the accuracy of the intention classification resultcan be improved and user stickiness can be increased.

To further improve the accuracy of the intention classification result,in another exemplary embodiment, the neural network model is a fullyconnected neural network model. The performing, by the backend server,preset intention classification mapping on the message feature by usinga neural network model, to obtain the intention classification result ofthe to-be-processed interaction message includes: performing, by thebackend server, convolution mapping on the message feature by using aconvolutional layer of the fully connected neural network model toobtain a convolution result; performing, by the backend server, poolingmapping on the convolution result by using a pooling layer of the fullyconnected neural network model to obtain a pooling result; andperforming, by the backend server, fully connected mapping on thepooling result by using a fully connected layer of the fully connectedneural network model, to obtain the intention classification result ofthe to-be-processed interaction message.

In this embodiment, the backend server performs preset intentionclassification mapping on the extracted message feature by using thefully connected neural network model. In the preset intentionclassification mapping process, the backend server performs convolutionmapping by using a convolutional layer to obtain a convolution result,performs pooling mapping by using a pooling layer to obtain a poolingresult, and performs fully connected mapping by using a fully connectedlayer to obtain the intention classification result. In this way, theaccuracy of the intention classification result can be further improvedand user stickiness can be further increased.

In another exemplary embodiment, the extracting, by the backend server,a message feature of the to-be-processed interaction message includes:performing, by the backend server, speech recognition on theto-be-processed interaction message, to obtain a text message; andextracting a message feature of the text message.

Speech recognition may convert a speech message into a text message.Speech recognition may be implemented by using an automatic speechrecognition (ASR) technology. In this embodiment, the to-be-processedinteraction message is a speech message, and the backend server performsspeech recognition on the speech message to obtain a text message, andthen extracts a message feature of the text message to obtain themessage feature of the to-be-processed interaction message. In this way,the input efficiency of message input can be improved and more effectiveinformation can be received, to recommend a mini program better meetinga user requirement, thereby further increasing user stickiness.

In another exemplary embodiment, a product of this method is a targetservice platform. A diagram of implementation logic of the targetservice platform may be shown in FIG. 8. A backend server obtains,through a terminal, a to-be-processed interaction message activelytransmitted or mentioned in a chat by the user. The to-be-processedinteraction message may be in a text form, or may be in a speech form.The terminal forwards the to-be-processed interaction message to thebackend server of the target service platform (an official account). Thebackend server of the target service platform may perform speechrecognition on the to-be-processed interaction message by using an ASRspeech recognition engine, to convert a speech message into a textmessage. Then, the backend server may perform semantic analysis on thetext message by using an NLP semantic understanding engine to extract amessage feature such as a message keyword of the text message, performpreset intention classification mapping on the message feature by usinga neural network model to obtain an intention classification result ofthe to-be-processed interaction message, and determine a programidentifier of a target mini program corresponding to the to-be-processedinteraction message according to the message keyword. The backend serverobtains program information of the target mini program according to theprogram identifier of the target mini program and then transmits theprogram information to the terminal. The program information includesprogram link information of the target mini program. The program linkinformation of the target mini program is distributed through theterminal.

Based on the above, according to the exemplary embodiment provided inthis application, a function of distributing or invoking mini programsby using the target service platform can be implemented. A logicalflowchart at a product level of the target service platform may be shownin FIG. 9. On one hand, a user may actively input a specific requirementsuch as “I want to order a takeout” through a speech or typing. On theother hand, a related vague requirement may be exposed in a chattingprocess of the user. For example, the user mentions “I am hungry” duringchatting. Intention classification is performed on the active “I want toorder a takeout” and the passively exposed “I am hungry”, both of whichfall in a mini program intention. After determining a target miniprogram, a guiding script may be outputted to distribute program linkinformation of the target mini program, or a final operation of the usermay be directly reached by invoking invoked interface information of thetarget mini program, to return a final result.

In another exemplary embodiment, the transmitting, by the backendserver, a message processing result based on the program identifier ofthe target mini program includes: obtaining, by the backend server,program information of the target mini application program according tothe program identifier, the program information including program linkinformation or invoked interface information of the target miniapplication program; and transmitting, by the backend server, themessage processing result based on the program information.

The backend server may search a local database for the programinformation of the target mini program according to the programidentifier. The backend server may alternatively transmit a searchrequest to a server of the target mini program according to the programidentifier, to request the program information of the target miniapplication program corresponding to the program identifier, so as toobtain the program information of the target mini program.

The program link information may include at least one of a link addressand a port number of the target mini program. The invoked interfaceinformation may include at least one of a link address and a port numberof a functional module of the target mini program. The messageprocessing result transmitted by the backend server based on the programinformation may be the program link information of the target miniprogram, or may be the invoked interface information of the target miniapplication program, or may be page data corresponding to the programlink information or the invoked interface information.

In this way, the program link information or the invoked interfaceinformation is included in the message processing result fed back by thebackend server to the terminal, so that the user can access the targetmini program conveniently and quickly through the program linkinformation or the invoked interface information, and the quantity ofuses of the target mini program can be improved.

In another exemplary embodiment, the transmitting, by the backendserver, the message processing result based on the program informationincludes: requesting, by the backend server, page data of the targetmini program according to the program information; and transmitting, bythe backend server, the message processing result based on the page dataand the program information after receiving the page data.

In this embodiment, the backend server transmits a page request to theserver of the target mini program according to the program information,to request the page data of the target mini program. After receiving thepage request, the server of the target mini program returns the pagedata to the backend server according to the page request. The backendserver transmits the message processing result to the terminal based onthe page data and the program information after receiving the page data.The page data and the program information are included in the messageprocessing result fed back by the backend server to the terminal. Inthis way, the terminal may display the page data, so that the user canknow the service provided by the target mini program more intuitively.

In another exemplary embodiment, the determining, by the backend server,a program identifier of a target mini program corresponding to theto-be-processed interaction message according to the message keywordincludes: determining, by the backend server, candidate mini programscorresponding to the to-be-processed interaction message according tothe message keyword; extracting, by the backend server, mini programfeatures of the candidate mini programs; sorting, by the backend server,the candidate mini programs according to the mini program features, anddetermining a program identifier of a candidate mini program arranged ata preset position as the program identifier of the target mini program.

In this embodiment, the backend server may determine at least onecandidate mini program according to the message keyword. For example,mini programs corresponding to weather may be China Weather and MojiWeather. In this embodiment, a target mini program having the highestcorrelation with the to-be-processed interaction message is determinedby sorting the candidate mini programs. The backend server may combinethe mini program features of the candidate mini programs by using alinear regression model, to optimize quantities of times that the miniprograms are opened, to obtain a sorting result of the mini programs. Aprogram identifier of a candidate mini program arranged at a presetposition may be determined as the program identifier of the target miniprogram. The preset position may be any position, for example, the firstposition.

The mini program feature may include a text feature and a non-textfeature. The text feature may be at least one of a keyword, a wordfrequency count, and a message matching degree. The non-text feature maybe at least one of a quality score, a quantity of followers, and aquantity of times that a mini program is opened.

Based on the above, according to the exemplary embodiment provided inthis application, the target mini program corresponding to theto-be-processed interaction message is determined by sorting the programidentifiers of the candidate mini programs. In this way, the backendserver can determine a mini program that better meets the userrequirement to improve user satisfaction, thereby further improving userstickiness.

In another exemplary embodiment, the extracting, by the backend server,mini program features of the candidate mini programs includes:extracting, by the backend server, text features of the candidate miniprograms and non-text features of the candidate mini programs when thecandidate mini programs are text-type mini programs; or extracting, bythe backend server, non-text features of the candidate mini programswhen the candidate mini programs are non-text-type mini programs.

The text-type mini program refers to a mini program from which atext-type answer may be obtained, such as a weather mini program. If aquestion is “weather in Beijing”, a result that the mini program mayprovide is a text, such as “sunny, 10 degrees Celsius”. Thenon-text-type mini program refers to a mini program that directlyprovides a jump page for a question instead of an answer, such as aticket booking mini program or a music playing mini program.

The text feature may be at least one of a keyword, a word frequencycount, and a message matching degree. The non-text feature may be atleast one of a quality score, a quantity of followers, and a quantity oftimes that a mini program is opened. In this embodiment, text featuresand non-text features need to be extracted for text-type mini programs,and non-text features need to be extracted for non-text-type miniprograms. The backend server may sort the candidate mini programsaccording to the program features, to determine the target mini program.

In another exemplary embodiment, as shown in FIG. 10, after receivingthe to-be-processed interaction message, the backend server of thetarget service platform performs intention classification on theto-be-processed interaction message based on a neural network model. Anintention classification result further includes candidate mini programidentifiers. The backend server pulls a list of candidate mini programs,and then determines whether the candidate mini programs are text-typemini programs. When the candidate mini programs are text-type miniprograms, the backend server obtains text results of the candidate miniprograms, extracts text features of the candidate mini programsaccording to the text results, and then extracts non-text features ofthe candidate mini programs. When the candidate mini programs arenon-text-type mini programs, the backend server obtains non-textfeatures of the candidate mini programs. The backend server sorts thecandidate mini programs according to the text features and the non-textfeatures by using a logistic regression model, to determine the targetmini program.

Based on the above, according to the exemplary embodiment provided inthis application, the backend server extracts text features and non-textfeatures for the text-type mini programs at the same time, and extractsnon-text features for the non-text-type mini programs. In this way,various factors are taken into comprehensive consideration as much aspossible, and a sorting result may be more accurate. In this way, thebackend server can determine a target mini program that better meets theuser requirement to improve user satisfaction, thereby further improvinguser stickiness.

To describe the embodiments on the terminal side and on the backendserver side of this application more clearly, description is made belowwith reference to a sequence diagram of a specific embodiment. Thesequence diagram is shown in FIG. 11.

A terminal displays a target interaction interface, and receives ato-be-processed interaction message when a message input triggerinstruction is received in the target interaction interface; and theterminal displays the to-be-processed interaction message in the targetinteraction interface when a message transmission trigger instruction isreceived in the target interaction interface, and transmits a messageprocessing request to a backend server based on the to-be-processedinteraction message.

The backend server receives the to-be-processed interaction message; thebackend server performs intention classification on the to-be-processedinteraction message to obtain an intention classification result of theto-be-processed interaction message; the backend server performssemantic analysis on the to-be-processed interaction message todetermine a message keyword of the to-be-processed interaction messagewhen the intention classification result includes a mini programintention; the backend server determines a program identifier of atarget mini program corresponding to the to-be-processed interactionmessage according to the message keyword; and the backend servertransmits a message processing result to the terminal based on theprogram identifier of the target mini program.

The terminal receives the message processing result returned based onthe message processing request, and displays program information basedon the target mini program in the target interaction interface accordingto the message processing result; the terminal receives a programrequest transmission instruction based on the displayed programinformation; and the terminal then transmits a target program request toa server of the target mini program according to the program informationof the target mini program carried in the program request transmissioninstruction.

The server of the target mini program returns program responseinformation to the terminal according to the target program request.

The terminal displays target page data according to the program responseinformation, and receives a parameter modification instruction based onthe displayed target page data; the terminal receives a service requesttransmission instruction based on the program response information aftermodifying a preset parameter according to the parameter modificationinstruction, the service request transmission instruction includinginvoked interface information and the modified preset parameter of thetarget mini program; and the terminal then transmits a target servicerequest to the server of the target mini program according to themodified preset parameter and the invoked interface information.

The server of the target mini program returns a service response resultto the terminal according to the target service request.

The terminal receives the service response result returned according tothe target service request.

The terminal displays the service response result returned according tothe target service request.

It is to be understood that, the steps in FIG. 2 and FIG. 5 aresequentially displayed as indicated by arrows, but the steps are notnecessarily performed in a sequence indicated by the arrows. Unlessotherwise explicitly specified in this application, execution of thesteps is not strictly limited, and the steps may be performed in othersequences. Moreover, at least some of the steps in FIG. 2 and FIG. 5 mayinclude a plurality of sub-steps or a plurality of stages. Thesesub-steps or stages are not necessarily performed at the same moment,but may be performed at different moments. These sub-steps or stages arenot necessarily performed sequentially, but may be performed in turn oralternately with at least one part of other steps or sub-steps or stagesof the other steps.

In another embodiment, as shown in FIG. 12, an interaction messageprocessing apparatus corresponding to the interaction message processingmethod run in a terminal is provided, including:

an interaction message receiving module 1202, configured to receive ato-be-processed interaction message when a message input triggerinstruction is received in a target interaction interface;

a message display and transmission module 1204, configured to displaythe to-be-processed interaction message in the target interactioninterface when a message transmission trigger instruction is received inthe target interaction interface, and transmit a message processingrequest based on the to-be-processed interaction message;

a message result receiving module 1206, configured to receive a messageprocessing result returned based on the message processing request, themessage processing result being determined based on a target miniprogram corresponding to the to-be-processed interaction message; and

a target message display module 1208, configured to display a targetinteraction message based on the target mini program in the targetinteraction interface according to the message processing result.

The interaction message processing apparatus receives a to-be-processedinteraction message when a message input trigger instruction is receivedin a target interaction interface; displays the to-be-processedinteraction message in the target interaction interface when a messagetransmission trigger instruction is received in the target interactioninterface, and transmits a message processing request based on theto-be-processed interaction message; receives a message processingresult returned based on the message processing request, the messageprocessing result being determined based on a target mini programcorresponding to the to-be-processed interaction message; and displays atarget interaction message based on the target mini program in thetarget interaction interface according to the message processing result.The returned message processing result based on the target mini programmay be received, and the target interaction message based on the targetmini program may be displayed in the target interaction interface basedon the message processing result, so that an interaction messageprocessing function can be expanded and user stickiness can beincreased. Besides, due to the limitation of mini program obtainingmanners, according to the interaction message processing apparatus, thequantity of uses of the mini program can be improved. In addition, aclosed-loop of operations is easily formed based on the interactionmessage processing apparatus in this embodiment, which helps to collectstatistics on traffic revenue.

In another exemplary embodiment, the message processing result includesprogram information of the target mini program; and the target messagedisplay module 1208 is configured to display the target interactionmessage based on the target mini program in the target interactioninterface according to the program information of the target miniprogram.

In another exemplary embodiment, the program information includesprogram link information of the target mini program; and the targetmessage display module 1208 is configured to display the targetinteraction message based on the target mini program in the targetinteraction interface according to the program link information of thetarget mini program.

In another exemplary embodiment, the program information includesinvoked interface information of the target mini program, and theinvoked interface information corresponds to the to-be-processedinteraction message; and the target message display module 1208 isconfigured to display the target interaction message based on the targetmini program in the target interaction interface according to theinvoked interface information of the target mini program.

In another exemplary embodiment, the message processing result furtherincludes page data of the target mini program; and the target messagedisplay module 1208 is configured to determine the target interactionmessage based on the target mini program according to the programinformation and the page data of the target mini program; and displaythe target interaction message in the target interaction interface.

In another exemplary embodiment, the page data includes homepage data ofthe target mini program; and the target message display module 1208 isconfigured to render the homepage data, display a homepage of the targetmini program in the target interaction interface, and set a hyperlink ofthe homepage according to program link information of the target miniprogram.

In another exemplary embodiment, the page data includes target page dataof the target mini program, the target page data corresponds to invokedinterface information of the target mini program, and the invokedinterface information corresponds to the to-be-processed interactionmessage; and the target message display module 1208 is configured torender the target page data, display a target page of the target miniprogram in the target interaction interface, and set a hyperlink of thetarget page according to the invoked interface information of the targetmini program.

In another exemplary embodiment, the apparatus further includes:

a service request receiving module, configured to receive a servicerequest transmission instruction based on the target page, the servicerequest transmission instruction including the program information and apreset parameter of the target mini program;

a service request determining module, configured to transmit a targetservice request according to the program information and the presetparameter; and

a service response receiving module, configured to receive a serviceresponse result returned based on the target service request, anddisplay the service response result returned based on the target servicerequest.

In another exemplary embodiment, the target message display module 1208is configured to display the page data on a subpage embedded in thetarget interaction interface, and set a hyperlink of the page dataaccording to the program information of the target mini program.

In another exemplary embodiment, the apparatus further includes:

a program request receiving module, configured to receive a programrequest transmission instruction based on the target interactionmessage;

a program request transmission module, configured to transmit a targetprogram request according to the program information of the target miniprogram carried in the program request transmission instruction; and

a program response receiving module, configured to receive programresponse information returned according to the target program request,and display the program response information returned according to thetarget program request.

In another exemplary embodiment, the program response informationincludes the target page data, and the target page data corresponds tothe to-be-processed interaction message; and the apparatus furtherincludes:

a service request receiving module, configured to receive a servicerequest transmission instruction based on the program responseinformation, the service request transmission instruction including theinvoked interface information and the preset parameter of the targetmini program;

a service request determining module, configured to transmit a targetservice request according to the preset parameter and the invokedinterface information; and

a service response receiving module, configured to receive a serviceresponse result returned according to the target service request, anddisplay the service response result returned according to the targetservice request.

In another exemplary embodiment, the apparatus further includes amodification instruction receiving module,

the modification instruction receiving module is configured to receive aparameter modification instruction based on the program responseinformation; and

the service request receiving module is further configured to receivethe service request transmission instruction based on the programresponse information after modifying the preset parameter according tothe parameter modification instruction,

the service request transmission instruction including the invokedinterface information and the modified preset parameter of the targetmini program.

In another exemplary embodiment, as shown in FIG. 13, an interactionmessage processing apparatus corresponding to the interaction messageprocessing method run in a backend server is provided, including:

an interaction message receiving module 1302, configured to receive ato-be-processed interaction message;

a message intention classification module 1304, configured to performintention classification on the to-be-processed interaction message, toobtain an intention classification result of the to-be-processedinteraction message;

a message semantic analysis module 1306, configured to perform semanticanalysis on the to-be-processed interaction message when the intentionclassification result includes a mini program intention, to determine amessage keyword of the to-be-processed interaction message;

a target program determining module 1308, configured to determine aprogram identifier of a target mini program corresponding to theto-be-processed interaction message according to the message keyword;and

a message result transmission module 1310, configured to transmit amessage processing result based on the program identifier of the targetmini program.

The interaction message processing apparatus receives a to-be-processedinteraction message; performs intention classification on theto-be-processed interaction message, to obtain an intentionclassification result of the to-be-processed interaction message;performs semantic analysis on the to-be-processed interaction message,to determine a message keyword of the to-be-processed interactionmessage; determines a program identifier of a target mini programcorresponding to the to-be-processed interaction message according tothe message keyword; and transmits a message processing result based onthe program identifier of the target mini program. The messageprocessing result based on the target mini program may be fed back, sothat an interaction message processing function can be expanded and userstickiness can be increased. Besides, due to the limitation of miniprogram obtaining manners, according to the interaction messageprocessing apparatus, the quantity of uses of the target mini programcan be improved. In addition, a closed-loop of operations is easilyformed based on the interaction message processing apparatus in thisembodiment, which helps to collect statistics on traffic revenue.

In another exemplary embodiment, the apparatus further includes amessage feature extraction module,

the message feature extraction module is configured to extract a messagefeature of the to-be-processed interaction message; and

the message intention classification module 1304 is further configuredto perform preset intention classification mapping on the messagefeature by using a neural network model, to obtain the intentionclassification result of the to-be-processed interaction message.

In another exemplary embodiment, the neural network model is a fullyconnected neural network model; and the message intention classificationmodule 1304 is further configured to perform convolution mapping on themessage feature by using a convolutional layer of the fully connectedneural network model to obtain a convolution result; perform poolingmapping on the convolution result by using a pooling layer of the fullyconnected neural network model to obtain a pooling result; and performfully connected mapping on the pooling result by using a fully connectedlayer of the fully connected neural network model, to obtain theintention classification result of the to-be-processed interactionmessage.

In another exemplary embodiment, the apparatus further includes a speechrecognition module,

the speech recognition module is configured to perform speechrecognition on the to-be-processed interaction message to obtain a textmessage; and

the message feature extraction module is further configured to extract amessage feature of the text message.

In another exemplary embodiment, the apparatus further includes aprogram information determining module,

the program information determining module is configured to obtainprogram information of the target mini program according to the programidentifier, the program information including program link informationor invoked interface information of the target mini program; and

the message result transmission module 1310 is further configured totransmit the message processing result based on the program information.

In another exemplary embodiment, the apparatus further includes a pagedata requesting module,

the page data requesting module is configured to request page data ofthe target mini program according to the program information; and

the message result transmission module 1310 is further configured totransmit the message processing result based on the page data and theprogram information after receiving the page data.

In another exemplary embodiment, the apparatus further includes acandidate program determining module and a program feature extractionmodule,

the candidate program determining module is configured to determinecandidate mini programs corresponding to the to-be-processed interactionmessage according to the message keyword;

the program feature extraction module is configured to extract miniprogram features of the candidate mini programs; and

the target program determining module 1308 is further configured to sortthe candidate mini programs according to the mini program features, anddetermine a program identifier of a candidate mini program arranged at apreset position as the program identifier of the target mini program.

In another exemplary embodiment, the program feature extraction moduleis configured to extract text features of the candidate mini programsand non-text features of the candidate mini programs when the candidatemini programs are text-type mini programs; or extract non-text featuresof the candidate mini programs when the candidate mini programs arenon-text-type mini programs.

As shown in FIG. 14, in another embodiment, a computer device isprovided. The computer device may be a server or a terminal. Thecomputer device includes a processor, a memory, a network interface, adisplay screen, and an input apparatus that are connected by using asystem bus. The processor of the computer device is configured toprovide computing and control capabilities. The memory of the computerdevice includes a non-volatile storage medium and an internal memory.The non-volatile storage medium stores an operating system and acomputer program. The internal memory provides an environment forrunning of the operating system and the computer program in thenon-volatile storage medium. The network interface of the computerdevice is configured to communicate with an external terminal through anetwork connection. The computer program is executed by the processor toimplement an interaction message processing method.

A person skilled in the art may understand that the structure shown inFIG. 14 is only a block diagram of a partial structure related to thesolution of this application, and does not constitute a limitation tothe computer device to which the solution of this application isapplied. Specifically, the computer device may include more or fewercomponents than those shown in the figure, or some components may becombined, or a different component deployment may be used.

In another implementation, a computer device is provided. The computerdevice may be a server or a terminal. The computer device includes amemory and a processor, the memory storing a computer program, theprocessor, when executing the computer program, implementing the stepsof the foregoing interaction message processing method.

In another exemplary implementation, a computer-readable storage mediumis provided, storing a computer program, the computer program, whenexecuted by a processor, implementing the steps of the foregoinginteraction message processing method.

A person of ordinary skill in the art may understand that all or some ofprocedures of the method in the foregoing embodiments may be implementedby a computer program instructing relevant hardware. The program may bestored in a non-volatile computer-readable storage medium. When theprogram is executed, the procedures of the foregoing method embodimentsmay be implemented. References to the memory, the storage, the database,or other medium used in the embodiments provided in this application mayall include a non-volatile or a volatile memory. The non-volatile memorymay include a read-only memory (ROM), a programmable ROM (PROM), anelectrically programmable ROM (EPROM), an electrically erasableprogrammable ROM (EEPROM), or a flash memory. The volatile memory mayinclude a random access memory (RAM) or an external cache. By way ofdescription rather than limitation, the RAM may be obtained in aplurality of forms, such as a static RAM (SRAM), a dynamic RAM (DRAM), asynchronous DRAM (SDRAM), a double data rate SDRAM (DDRSDRAM), anenhanced SDRAM (ESDRAM), a synchlink (Synchlink) DRAM (SLDRAM), a Rambusdirect RAM (RDRAM), a direct Rambus dynamic RAM (DRDRAM), and a Rambusdynamic RAM (RDRAM).

Technical features of the foregoing embodiments may be randomlycombined. To make description concise, not all possible combinations ofthe technical features in the foregoing embodiments are described.However, the combinations of these technical features shall beconsidered as falling within the scope recorded by this specificationprovided that no conflict exists.

The foregoing embodiments only describe several implementations of thisapplication, and the description is relatively specific and detailed,but cannot be construed as a limitation to the patent scope of thisapplication. For a person of ordinary skill in the art, severaltransformations and improvements can be made without departing from theidea of this application. These transformations and improvements belongto the protection scope of this application. Therefore, the protectionscope of the patent of this application shall be subject to the appendedclaims.

Note that the various embodiments described above can be combined withany other embodiments described herein. The features and advantagesdescribed in the specification are not all inclusive and, in particular,many additional features and advantages will be apparent to one ofordinary skill in the art in view of the drawings, specification, andclaims. Moreover, it should be noted that the language used in thespecification has been principally selected for readability andinstructional purposes, and may not have been selected to delineate orcircumscribe the inventive subject matter.

As used herein, the term “unit” or “module” refers to a computer programor part of the computer program that has a predefined function and workstogether with other related parts to achieve a predefined goal and maybe all or partially implemented by using software, hardware (e.g.,processing circuitry and/or memory configured to perform the predefinedfunctions), or a combination thereof. Each unit or module can beimplemented using one or more processors (or processors and memory).Likewise, a processor (or processors and memory) can be used toimplement one or more modules or units. Moreover, each module or unitcan be part of an overall module that includes the functionalities ofthe module or unit. The division of the foregoing functional modules ismerely used as an example for description when the systems, devices, andapparatus provided in the foregoing embodiments performs interactionmessage processing. In practical application, the foregoing functionsmay be allocated to and completed by different functional modulesaccording to requirements, that is, an inner structure of a device isdivided into different functional modules to implement all or a part ofthe functions described above.

What is claimed is:
 1. A method performed at a backend server, themethod comprising: receiving, by the server, a to-be-processedinteraction message from a user interface of a social network platform;performing intention classification on the to-be-processed interactionmessage, to obtain an intention classification result of theto-be-processed interaction message; performing semantic analysis on theto-be-processed interaction message when the intention classificationresult comprises a mini program intention, to determine a messagekeyword of the to-be-processed interaction message; determining aprogram identifier of a target mini program corresponding to theto-be-processed interaction message according to the message keyword;and transmitting a message processing result based on the programidentifier of the target mini program.
 2. The method according to claim1, wherein performing intention classification on the to-be-processedinteraction message, to obtain an intention classification result of theto-be-processed interaction message comprises: extracting a messagefeature of the to-be-processed interaction message; and performingpreset intention classification mapping on the message feature using aneural network model to obtain the intention classification result ofthe to-be-processed interaction message.
 3. The method according toclaim 2, wherein the neural network model is a fully connected neuralnetwork model, and performing preset intention classification mapping onthe message feature by using a neural network model, to obtain theintention classification result of the to-be-processed interactionmessage comprises: performing convolution mapping on the message featureby using a convolutional layer of the fully connected neural networkmodel to obtain a convolution result; performing pooling mapping on theconvolution result by using a pooling layer of the fully connectedneural network model to obtain a pooling result; and performing fullyconnected mapping on the pooling result by using a fully connected layerof the fully connected neural network model, to obtain the intentionclassification result of the to-be-processed interaction message.
 4. Themethod according to claim 2, wherein extracting a message feature of theto-be-processed interaction message comprises: performing speechrecognition on the to-be-processed interaction message to obtain a textmessage; and extracting a message feature of the text message.
 5. Themethod according to claim 1, wherein transmitting a message processingresult based on the program identifier of the target mini programcomprises: obtaining program information of the target mini programaccording to the program identifier, the program information comprisingprogram link information or invoked interface information of the targetmini program; and transmitting the message processing result based onthe program information.
 6. The method according to claim 5, wherein thetransmitting the message processing result based on the programinformation comprises: requesting page data of the target mini programaccording to the program information; and transmitting the messageprocessing result based on the page data and the program informationafter receiving the page data.
 7. The method according to claim 1,wherein the determining a program identifier of a target mini programcorresponding to the to-be-processed interaction message according tothe message keyword comprises: determining candidate mini programscorresponding to the to-be-processed interaction message according tothe message keyword; extracting mini program features of the candidatemini programs; and sorting the candidate mini programs according to themini program features, and determining a program identifier of acandidate mini program arranged at a preset position as the programidentifier of the target mini program.
 8. The method according to claim7, wherein the extracting mini program features of the candidate miniprograms comprises: extracting text features of the candidate miniprograms and non-text features of the candidate mini programs in a casethat the candidate mini programs are text-type mini programs; orextracting non-text features of the candidate mini programs in a casethat the candidate mini programs are non-text-type mini programs.
 9. Aserver, comprising: one or more processors; and memory storing one ormore programs, the one or more programs comprising instructions that,when executed by the one or more processors, cause the one or moreprocessors to perform operations comprising: receiving a to-be-processedinteraction message from a user interface of a social network platform;performing intention classification on the to-be-processed interactionmessage, to obtain an intention classification result of theto-be-processed interaction message; performing semantic analysis on theto-be-processed interaction message when the intention classificationresult comprises a mini program intention, to determine a messagekeyword of the to-be-processed interaction message; determining aprogram identifier of a target mini program corresponding to theto-be-processed interaction message according to the message keyword;and transmitting a message processing result based on the programidentifier of the target mini program.
 10. The server according to claim9, wherein performing intention classification on the to-be-processedinteraction message, to obtain an intention classification result of theto-be-processed interaction message comprises: extracting a messagefeature of the to-be-processed interaction message; and performingpreset intention classification mapping on the message feature using aneural network model to obtain the intention classification result ofthe to-be-processed interaction message.
 11. The server according toclaim 10, wherein the neural network model is a fully connected neuralnetwork model, and performing preset intention classification mapping onthe message feature by using a neural network model, to obtain theintention classification result of the to-be-processed interactionmessage comprises: performing convolution mapping on the message featureby using a convolutional layer of the fully connected neural networkmodel to obtain a convolution result; performing pooling mapping on theconvolution result by using a pooling layer of the fully connectedneural network model to obtain a pooling result; and
 12. The serveraccording to claim 9, wherein transmitting a message processing resultbased on the program identifier of the target mini program comprises:obtaining program information of the target mini program according tothe program identifier, the program information comprising program linkinformation or invoked interface information of the target mini program;and transmitting the message processing result based on the programinformation.
 13. The server according to claim 12, wherein transmittingthe message processing result based on the program informationcomprises: requesting page data of the target mini program according tothe program information; and transmitting the message processing resultbased on the page data and the program information after receiving thepage data.
 14. The server according to claim 9, wherein determining aprogram identifier of a target mini program corresponding to theto-be-processed interaction message according to the message keywordcomprises: determining candidate mini programs corresponding to theto-be-processed interaction message according to the message keyword;extracting mini program features of the candidate mini programs; andsorting the candidate mini programs according to the mini programfeatures, and determining a program identifier of a candidate miniprogram arranged at a preset position as the program identifier of thetarget mini program.
 15. The server according to claim 9, whereindetermining a program identifier of a target mini program correspondingto the to-be-processed interaction message according to the messagekeyword comprises: determining candidate mini programs corresponding tothe to-be-processed interaction message according to the messagekeyword; extracting mini program features of the candidate miniprograms; and sorting the candidate mini programs according to the miniprogram features, and determining a program identifier of a candidatemini program arranged at a preset position as the program identifier ofthe target mini program.
 16. The server according to claim 15, whereinextracting mini program features of the candidate mini programscomprises: extracting text features of the candidate mini programs andnon-text features of the candidate mini programs in a case that thecandidate mini programs are text-type mini programs; or extractingnon-text features of the candidate mini programs in a case that thecandidate mini programs are non-text-type mini programs.
 17. Anon-transitory computer-readable storage medium having instructionsstored thereon, the instructions when executed by one or moreprocessors, cause the one or more processors to perform operationscomprising: receiving a to-be-processed interaction message from a userinterface of a social network platform; performing intentionclassification on the to-be-processed interaction message, to obtain anintention classification result of the to-be-processed interactionmessage; performing semantic analysis on the to-be-processed interactionmessage when the intention classification result comprises a miniprogram intention, to determine a message keyword of the to-be-processedinteraction message; determining a program identifier of a target miniprogram corresponding to the to-be-processed interaction messageaccording to the message keyword; and transmitting a message processingresult based on the program identifier of the target mini program. 18.The non-transitory computer-readable storage medium according to claim17, wherein performing intention classification on the to-be-processedinteraction message, to obtain an intention classification result of theto-be-processed interaction message comprises: extracting a messagefeature of the to-be-processed interaction message; and performingpreset intention classification mapping on the message feature using aneural network model to obtain the intention classification result ofthe to-be-processed interaction message.
 19. The non-transitorycomputer-readable storage medium according to claim 18, wherein theneural network model is a fully connected neural network model, andperforming preset intention classification mapping on the messagefeature by using a neural network model, to obtain the intentionclassification result of the to-be-processed interaction messagecomprises: performing convolution mapping on the message feature byusing a convolutional layer of the fully connected neural network modelto obtain a convolution result; performing pooling mapping on theconvolution result by using a pooling layer of the fully connectedneural network model to obtain a pooling result; and
 20. Thenon-transitory computer-readable storage medium according to claim 17,wherein transmitting a message processing result based on the programidentifier of the target mini program comprises: obtaining programinformation of the target mini program according to the programidentifier, the program information comprising program link informationor invoked interface information of the target mini program; andtransmitting the message processing result based on the programinformation.